package com.cy.aircompressor.main.view.dialog;

import android.content.Context;
import android.view.LayoutInflater;

import com.cy.aircompressor.databinding.DatePickerDialogBinding;
import com.drug.lib.view.BaseDialog;

public class DateSelectDialog {
    BaseDialog baseDialog;

    public DateSelectDialog(Context context) {
        LayoutInflater layoutInflater = LayoutInflater.from(context);
        DatePickerDialogBinding datePickerDialogBinding = DatePickerDialogBinding.inflate(layoutInflater);
        baseDialog = new BaseDialog.Builder(context)
                .setContentView(datePickerDialogBinding.getRoot())
                .create();
    }

    public void show() {
        baseDialog.show();
    }
}
